package org.example.test915.entity.convert;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.example.test915.entity.po.UserInfoPO;
import org.example.test915.entity.vo.UserInfoVO;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface UserInfoConvert {

    Page<UserInfoVO> po2voPage(Page<UserInfoPO> po);

    List<UserInfoVO> poList2Vo(List<UserInfoPO> list);

    UserInfoVO po2Vo(UserInfoPO po);
}
